#include"game.h"
int find(char (*p)[col+2], int x, int y)
{
	int sum = 0;
	int i = 0;
	int j = 0;
	for (i=-1;i <=1;i++)
	{
		for (j=-1;j <=1;j++)
		{
			if (p[y+i][x+j] =='*')
			{
				sum++;
			}
		}
	}
	return sum;
}
